
<!DOCTYPE HTML>
<html lang="Chinese" >
    <head>
        <title>钩子函数 · freeRTOS中文文档</title>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.0">
        <meta name="author" content="tangguocheng">
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-prismx/prism.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-theme-comscore/test.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="线程本地存储.html" />
    
    
    <link rel="prev" href="栈溢出检测.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="http://www.xn--4gqa63c686ta68iba.ren/" target="_blank" class="custom-link">博客</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../">
            
                <a href="../../">
            
                    
                    关于
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../../简介/freeRTOS介绍.html">
            
                <a href="../../简介/freeRTOS介绍.html">
            
                    
                    简介
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../../简介/编码规则和风格.html">
            
                <a href="../../简介/编码规则和风格.html">
            
                    
                    编码规则和风格
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../../简介/许可.html">
            
                <a href="../../简介/许可.html">
            
                    
                    许可
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../../简介/快速开始指南.html">
            
                <a href="../../简介/快速开始指南.html">
            
                    
                    快速开始指南
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../../入门/readme.html">
            
                <a href="../../入门/readme.html">
            
                    
                    入门
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../../入门/任务和协程/readme.html">
            
                <a href="../../入门/任务和协程/readme.html">
            
                    
                    任务和协程
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1.1" data-path="../../入门/任务和协程/任务.html">
            
                <a href="../../入门/任务和协程/任务.html">
            
                    
                    任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.2" data-path="../../入门/任务和协程/协程.html">
            
                <a href="../../入门/任务和协程/协程.html">
            
                    
                    协程
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../../入门/通信机制/readme.html">
            
                <a href="../../入门/通信机制/readme.html">
            
                    
                    通信机制
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.2.1" data-path="../../入门/通信机制/队列.html">
            
                <a href="../../入门/通信机制/队列.html">
            
                    
                    队列
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.2" data-path="../../入门/通信机制/二值信号量.html">
            
                <a href="../../入门/通信机制/二值信号量.html">
            
                    
                    二值信号量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.3" data-path="../../入门/通信机制/计数信号量.html">
            
                <a href="../../入门/通信机制/计数信号量.html">
            
                    
                    计数信号量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.4" data-path="../../入门/通信机制/互斥量.html">
            
                <a href="../../入门/通信机制/互斥量.html">
            
                    
                    互斥量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.5" data-path="../../入门/通信机制/递归互斥量.html">
            
                <a href="../../入门/通信机制/递归互斥量.html">
            
                    
                    递归互斥量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.6" data-path="../../入门/通信机制/任务通知.html">
            
                <a href="../../入门/通信机制/任务通知.html">
            
                    
                    任务通知
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../../入门/事件组/事件组.html">
            
                <a href="../../入门/事件组/事件组.html">
            
                    
                    事件组
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="../../入门/软件定时器/软件定时器.html">
            
                <a href="../../入门/软件定时器/软件定时器.html">
            
                    
                    软件定时器
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../readme.md">
            
                <span>
            
                    
                    进阶
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../源代码组织结构/源代码组织结构.html">
            
                <a href="../源代码组织结构/源代码组织结构.html">
            
                    
                    源代码组织结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="配置文件.html">
            
                <a href="配置文件.html">
            
                    
                    配置文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="跟踪特性.html">
            
                <a href="跟踪特性.html">
            
                    
                    跟踪特性
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="低功耗支持.html">
            
                <a href="低功耗支持.html">
            
                    
                    低功耗支持
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="运行时间统计.html">
            
                <a href="运行时间统计.html">
            
                    
                    运行时间统计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="队列集合.html">
            
                <a href="队列集合.html">
            
                    
                    队列集合
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.7" data-path="中断延迟.html">
            
                <a href="中断延迟.html">
            
                    
                    中断延迟
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.8" data-path="静态分配与动态分配.html">
            
                <a href="静态分配与动态分配.html">
            
                    
                    静态和动态内存分配
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.9" data-path="内存管理.html">
            
                <a href="内存管理.html">
            
                    
                    内存管理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.10" data-path="栈溢出检测.html">
            
                <a href="栈溢出检测.html">
            
                    
                    栈溢出检测
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.4.11" data-path="钩子函数.html">
            
                <a href="钩子函数.html">
            
                    
                    钩子函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.12" data-path="线程本地存储.html">
            
                <a href="线程本地存储.html">
            
                    
                    线程本地存储
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.13" data-path="移植指南.html">
            
                <a href="移植指南.html">
            
                    
                    移植指南
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.14" data-path=".">
            
                <span>
            
                    
                    在windows上模拟
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../.." >钩子函数</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
                                <section class="normal markdown-section">
                                
                                <h2 id="&#x7A7A;&#x95F2;&#x4EFB;&#x52A1;&#x94A9;&#x5B50;&#x51FD;&#x6570;">&#x7A7A;&#x95F2;&#x4EFB;&#x52A1;&#x94A9;&#x5B50;&#x51FD;&#x6570;</h2><p>&#x7A7A;&#x95F2;&#x4EFB;&#x52A1;&#x5728;&#x6267;&#x884C;&#x65F6;&#x53EF;&#x4EE5;&#x9009;&#x62E9;&#x662F;&#x5426;&#x56DE;&#x8C03;&#x4E00;&#x4E2A;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#xFF0C;&#x7A7A;&#x95F2;&#x4EFB;&#x52A1;&#x8FD0;&#x884C;&#x5728;&#x7CFB;&#x7EDF;&#x7684;&#x6700;&#x4F4E;&#x4F18;&#x5148;&#x7EA7;&#x4E0A;&#xFF0C;&#x56E0;&#x6B64;&#x53EA;&#x6709;&#x5728;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x4EFB;&#x52A1;&#x5168;&#x90E8;&#x5904;&#x5728;&#x963B;&#x585E;&#x6216;&#x6302;&#x8D77;&#x6001;&#x65F6;&#xFF0C;&#x7A7A;&#x95F2;&#x4EFB;&#x52A1;&#x624D;&#x4F1A;&#x5F97;&#x5230;&#x6267;&#x884C;&#x3002;&#x8FD9;&#x4F7F;&#x5F97;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x7A7A;&#x95F2;&#x4EFB;&#x52A1;&#x7684;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#x5C06;&#x7CFB;&#x7EDF;&#x8F6C;&#x5165;&#x4F4E;&#x529F;&#x8017;&#x6A21;&#x5F0F;&#xFF0C;&#x6216;&#x8005;&#x505A;&#x4E00;&#x4E9B;&#x5176;&#x4ED6;&#x4EFB;&#x52A1;&#x3002;</p><p>&#x4F7F;&#x7528;&#x7A7A;&#x95F2;&#x4EFB;&#x52A1;&#x7684;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#xFF0C;&#x9700;&#x8981;&#x5C06;<code>configUSE_IDLE_HOOK</code>&#x8BBE;&#x7F6E;&#x4E3A;1.&#x5E76;&#x4E14;&#xFF0C;&#x7A7A;&#x95F2;&#x4EFB;&#x52A1;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#x9700;&#x8981;&#x7533;&#x660E;&#x4E3A;&#x5982;&#x4E0B;&#x539F;&#x578B;:</p><p><code>void vApplicationIdleHook<span class="token punctuation">(</span> void <span class="token punctuation">)</span></code></p><p>&#x7A7A;&#x95F2;&#x4EFB;&#x52A1;&#x7684;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#x5728;&#x7A7A;&#x95F2;&#x4EFB;&#x52A1;&#x6267;&#x884C;&#x65F6;&#x5F97;&#x5230;&#x8C03;&#x7528;&#xFF0C;&#x6B64;&#x65F6;&#x7CFB;&#x7EDF;&#x4E2D;&#x51FA;&#x7A7A;&#x95F2;&#x4EFB;&#x52A1;&#x4E2D;&#xFF0C;&#x6CA1;&#x6709;&#x4EFB;&#x4F55;&#x5C31;&#x7EEA;&#x4EFB;&#x52A1;&#xFF0C;&#x56E0;&#x6B64;&#xFF0C;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#x4E2D;&#x4E0D;&#x80FD;&#x8C03;&#x7528;&#x4EFB;&#x4F55;&#x4F1A;&#x5BFC;&#x81F4;&#x4EFB;&#x52A1;&#x963B;&#x585E;&#x7684;API&#x3002;&#x540C;&#x6837;&#xFF0C;&#x5982;&#x679C;&#x5E94;&#x7528;&#x4F7F;&#x7528;&#x4E86;<code>vTaskDelay<span class="token punctuation">(</span><span class="token punctuation">)</span></code>API&#x51FD;&#x6570;&#xFF0C;&#x5219;&#x7A7A;&#x95F2;&#x4EFB;&#x52A1;&#x7684;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#x5FC5;&#x987B;&#x5141;&#x8BB8;&#x5468;&#x671F;&#x6027;&#x7684;&#x8FD4;&#x56DE;&#x3002;&#x8FD9;&#x662F;&#x56E0;&#x4E3A;&#x7A7A;&#x95F2;&#x4EFB;&#x52A1;&#x7684;&#x804C;&#x8D23;&#x662F;&#x56DE;&#x6536;&#x88AB;&#x5220;&#x9664;&#x4EFB;&#x52A1;&#x7684;&#x5806;&#x6808;&#x7A7A;&#x95F4;&#x3002;</p><h2 id="&#x8282;&#x62CD;&#x4E2D;&#x65AD;&#x94A9;&#x5B50;&#x51FD;&#x6570;">&#x8282;&#x62CD;&#x4E2D;&#x65AD;&#x94A9;&#x5B50;&#x51FD;&#x6570;</h2><p>&#x8282;&#x62CD;&#x4E2D;&#x65AD;&#x53EF;&#x4EE5;&#x9009;&#x62E9;&#x662F;&#x5426;&#x56DE;&#x8C03;&#x4E00;&#x4E2A;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#xFF0C;&#x8FD9;&#x4E2A;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#x5141;&#x8BB8;&#x5B9E;&#x73B0;&#x4E00;&#x4E9B;&#x5468;&#x671F;&#x6027;&#x7684;&#x529F;&#x80FD;&#x3002;</p><p>&#x4F7F;&#x7528;&#x8282;&#x62CD;&#x4E2D;&#x65AD;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#xFF0C;&#x9700;&#x8981;&#x5C06;<code>configUSE_TICK_HOOK</code>&#x8BBE;&#x7F6E;&#x4E3A;1&#xFF0C;&#x540C;&#x65F6;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#x7533;&#x660E;&#x4E3A;&#x5982;&#x4E0B;&#x539F;&#x578B;&#xFF1A;</p><p><code>void vApplicationTickHook<span class="token punctuation">(</span> void <span class="token punctuation">)</span></code></p><p>&#x8FD9;&#x4E2A;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#x5FC5;&#x987B;&#x5F88;&#x77ED;&#x4E14;&#x5360;&#x7528;&#x5806;&#x6808;&#x7A7A;&#x95F4;&#x5F88;&#x5C11;&#xFF0C;&#x56E0;&#x4E3A;&#x8FD9;&#x662F;&#x5728;&#x4E2D;&#x65AD;&#x4E2D;&#x8C03;&#x7528;&#x7684;&#x51FD;&#x6570;&#xFF0C;&#x540C;&#x65F6;&#xFF0C;&#x53EA;&#x80FD;&#x8C03;&#x7528;&#x4EE5;<code>FromISR</code>&#x7ED3;&#x5C3E;&#x7684;API&#x51FD;&#x6570;&#x3002;</p><h2 id="&#x5185;&#x5B58;&#x5206;&#x914D;&#x5931;&#x8D25;&#x94A9;&#x5B50;&#x51FD;&#x6570;">&#x5185;&#x5B58;&#x5206;&#x914D;&#x5931;&#x8D25;&#x94A9;&#x5B50;&#x51FD;&#x6570;</h2><p>&#x5185;&#x5B58;&#x7684;&#x5206;&#x914D;&#x673A;&#x5236;&#x53EF;&#x4EE5;&#x53C2;&#x9605;&#x201C;&#x5185;&#x5B58;&#x7BA1;&#x7406;&#x201D;&#x7AE0;&#x8282;&#x3002;&#x5728;&#x5185;&#x5B58;&#x5206;&#x914D;&#x5931;&#x8D25;&#x7684;&#x65F6;&#x5019;&#xFF0C;&#x53EF;&#x4EE5;&#x9009;&#x62E9;&#x56DE;&#x8C03;&#x4E00;&#x4E2A;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#xFF0C;&#x8FD9;&#x5C31;&#x662F;&#x5185;&#x5B58;&#x5206;&#x914D;&#x5931;&#x8D25;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#x3002;</p><p>&#x4F7F;&#x7528;&#x8FD9;&#x4E2A;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#xFF0C;&#x9700;&#x8981;&#x8BBE;&#x7F6E;<code>configUSE_MALLOC_FAILED_HOOK</code>&#x4E3A;1&#xFF0C;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#x7684;&#x539F;&#x578B;&#x4E3A;&#xFF1A;</p><p><code>void vApplicationMallocFailedHook<span class="token punctuation">(</span> void <span class="token punctuation">)</span></code></p><h2 id="&#x6808;&#x6EA2;&#x51FA;&#x94A9;&#x5B50;&#x51FD;&#x6570;">&#x6808;&#x6EA2;&#x51FA;&#x94A9;&#x5B50;&#x51FD;&#x6570;</h2><p>&#x89C1;&#x201C;&#x6808;&#x6EA2;&#x51FA;&#x68C0;&#x6D4B;&#x201D;&#x7AE0;&#x8282;&#x3002;</p><h2 id="&#x5B88;&#x62A4;&#x4EFB;&#x52A1;&#x542F;&#x52A8;&#x94A9;&#x5B50;&#x51FD;&#x6570;">&#x5B88;&#x62A4;&#x4EFB;&#x52A1;&#x542F;&#x52A8;&#x94A9;&#x5B50;&#x51FD;&#x6570;</h2><p>RTOS&#x5185;&#x6838;&#x7684;&#x5B88;&#x62A4;&#x4EFB;&#x52A1;(daemon task)&#x4E0E;&#x8F6F;&#x4EF6;&#x5B9A;&#x65F6;&#x5668;&#x670D;&#x52A1;&#x4EFB;&#x52A1;&#x4E00;&#x6837;&#xFF0C;&#x4E4B;&#x6240;&#x4EE5;&#x79F0;&#x4E3A;&#x5B88;&#x62A4;&#x4EFB;&#x52A1;&#xFF0C;&#x662F;&#x56E0;&#x4E3A;&#x5B83;&#x4E0D;&#x4EC5;&#x4EC5;&#x63D0;&#x4F9B;&#x8F6F;&#x4EF6;&#x5B9A;&#x65F6;&#x5668;&#x670D;&#x52A1;&#x4EFB;&#x52A1;&#x7684;&#x529F;&#x80FD;&#x3002;</p><p>&#x4F7F;&#x7528;&#x8FD9;&#x4E2A;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#xFF0C;&#x9700;&#x8981;&#x5C06;<code>configUSE_DAEMON_TASK_STARTUP_HOOK</code>&#x8BBE;&#x7F6E;&#x4E3A;1&#xFF0C;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#x539F;&#x578B;&#xFF1A;</p><p><code>void vApplicationDaemonTaskStartupHook<span class="token punctuation">(</span> void <span class="token punctuation">)</span></code></p><p>&#x8FD9;&#x4E2A;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#x4F1A;&#x5728;&#x5B88;&#x62A4;&#x4EFB;&#x52A1;&#x9996;&#x6B21;&#x5F00;&#x59CB;&#x65F6;&#x5F97;&#x5230;&#x6267;&#x884C;&#xFF0C;&#x800C;&#x4E14;&#x53EA;&#x6267;&#x884C;&#x4E00;&#x6B21;&#x3002;&#x8FD9;&#x4E2A;&#x7279;&#x6027;&#xFF0C;&#x5F88;&#x9002;&#x5408;&#x5728;&#x8FD9;&#x4E2A;&#x94A9;&#x5B50;&#x51FD;&#x6570;&#x4E2D;&#x505A;&#x4E00;&#x4E9B;&#x521D;&#x59CB;&#x5316;&#x7684;&#x4EFB;&#x52A1;&#x3002;</p>
                                
                                </section>
                            
                        </div>
                    </div>
                
            </div>

            
                
                <a href="栈溢出检测.html" class="navigation navigation-prev " aria-label="Previous page: 栈溢出检测">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="线程本地存储.html" class="navigation navigation-next " aria-label="Next page: 线程本地存储">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"钩子函数","level":"1.4.11","depth":2,"next":{"title":"线程本地存储","level":"1.4.12","depth":2,"path":"进阶/高级/线程本地存储.md","ref":"进阶/高级/线程本地存储.md","articles":[]},"previous":{"title":"栈溢出检测","level":"1.4.10","depth":2,"path":"进阶/高级/栈溢出检测.md","ref":"进阶/高级/栈溢出检测.md","articles":[]},"dir":"ltr"},"config":{"plugins":["prismx","-highlight","-search","duoshuo","ga","theme-comscore"],"styles":{"website":"styles/website.css","ebook":"styles/ebook.css","pdf":"styles/pdf.css","mobi":"styles/mobi.css","epub":"styles/epub.css"},"pluginsConfig":{"ga":{"configuration":"auto","token":"UA-80700049-1"},"duoshuo":{"short_name":"tangguocheng","theme":"default"},"prismx":{"css":["prismjs/themes/prism-tomorrow.css"]},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-comscore":{},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"mobi":{"fontSize":12,"footerTemplate":null,"headerTemplate":null,"margin":{"bottom":36,"left":62,"right":62,"top":36},"pageNumbers":false,"paperSize":"a4"},"theme":"default","author":"tangguocheng","pdf":{"pageBreaksBefore":"/","headerTemplate":null,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":false},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"freeRTOS中文文档","language":"Chinese","links":{"sidebar":{"博客":"http://www.xn--4gqa63c686ta68iba.ren/"}},"gitbook":"*","description":"freeRTOS中文文档","extension":null},"file":{"path":"进阶/高级/钩子函数.md","mtime":"2016-09-09T06:02:05.598Z","type":"markdown"},"gitbook":{"version":"3.2.0","time":"2016-09-18T09:07:11.640Z"},"basePath":"../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-duoshuo/duoshuo.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-ga/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-theme-comscore/test.js"></script>
        
    

    </body>
</html>

